package org.jeecg.controller;

import org.jeecg.domain.dto.OrderDto;
import org.jeecg.service.OrdersServeService;
import org.jeecg.utils.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/order")
public class OrderController {
    @Autowired
    private OrdersServeService orderServeService;

//    服务数据 分页
    @GetMapping("/orderList")
    public ResponseResult orderList(OrderDto orderDto){
        return orderServeService.orderList(orderDto);
    }
}
